home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / OpenGL / glxcreatewindow.z / glxcreatewindow
Encoding:
Text File  |  2002-10-03  |  4.9 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ggggllllXXXXCCCCrrrreeeeaaaatttteeeeWWWWiiiinnnnddddoooowwww((((3333GGGG))))         OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee ---- GGGGLLLLXXXX         ggggllllXXXXCCCCrrrreeeeaaaatttteeeeWWWWiiiinnnnddddoooowwww((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggllllXXXXCCCCrrrreeeeaaaatttteeeeWWWWiiiinnnnddddoooowwww - create an on-screen rendering area
  10.  
  11.  
  12. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  13.      GLXWindow ggggllllXXXXCCCCrrrreeeeaaaatttteeeeWWWWiiiinnnnddddoooowwww( Display *_d_p_y,
  14.                                 GLXFBConfig _c_o_n_f_i_g,
  15.                                 Window _w_i_n,
  16.                                 int *_a_t_t_r_i_b__l_i_s_t )
  17.  
  18.  
  19. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  20.      _d_p_y          Specifies the connection to the X server.
  21.  
  22.      _c_o_n_f_i_g       Specifies a GLXFBConfig structure with the desired
  23.                   attributes for the window.
  24.  
  25.      _w_i_n          Specifies the X window to be used as the rendering area.
  26.  
  27.      _a_t_t_r_i_b__l_i_s_t  Currently unused. This must be set to NNNNUUUULLLLLLLL, or be an empty
  28.                   list (i.e. one in which the first element is NNNNoooonnnneeee).
  29.  
  30. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  31.      ggggllllXXXXCCCCrrrreeeeaaaatttteeeeWWWWiiiinnnnddddoooowwww creates an on-screen rendering area from an existing X
  32.      window which was created with a visual which matches _c_o_n_f_i_g. the XID of
  33.      the GLXWindow is returned.  Any GLX rendering context that was created
  34.      with respect to _c_o_n_f_i_g can be used to render into this window.  Use
  35.      ggggllllXXXXMMMMaaaakkkkeeeeCCCCoooonnnntttteeeexxxxttttCCCCuuuurrrrrrrreeeennnntttt to associate the rendering area with a GLX
  36.      rendering context.
  37.  
  38. NNNNOOOOTTTTEEEESSSS
  39.      ggggllllXXXXCCCCrrrreeeeaaaatttteeeeWWWWiiiinnnnddddoooowwww is available only if the GLX version is 1.3 or greater.
  40.  
  41.      If the GLX version is 1.1 or 1.0, the GL version must be 1.0.  If the GLX
  42.      version is 1.2, then the GL version must be 1.1.  If the GLX version is
  43.      1.3, then the GL version must be 1.2.
  44.  
  45. EEEERRRRRRRROOOORRRRSSSS
  46.      BBBBaaaaddddMMMMaaaattttcccchhhh is generated if _w_i_n was not created with a visual that
  47.      corresponds to _c_o_n_f_i_g.
  48.  
  49.      BBBBaaaaddddMMMMaaaattttcccchhhh is generated if _c_o_n_f_i_g does not support rendering to windows
  50.      (i.e. GGGGLLLLXXXX____DDDDRRRRAAAAWWWWAAAABBBBLLLLEEEE____TTTTYYYYPPPPEEEE does not contain GGGGLLLLXXXX____WWWWIIIINNNNDDDDOOOOWWWW____BBBBIIIITTTT).
  51.  
  52.      BBBBaaaaddddWWWWiiiinnnnddddoooowwww is generated if _w_i_n is not a valid window XID.
  53.  
  54.      BBBBaaaaddddAAAAlllllllloooocccc is generated if there is already a GLXFBConfig associated with
  55.      _w_i_n.
  56.  
  57.      BBBBaaaaddddAAAAlllllllloooocccc is generated if the X server cannot allocate a new GLX window.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ggggllllXXXXCCCCrrrreeeeaaaatttteeeeWWWWiiiinnnnddddoooowwww((((3333GGGG))))         OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee ---- GGGGLLLLXXXX         ggggllllXXXXCCCCrrrreeeeaaaatttteeeeWWWWiiiinnnnddddoooowwww((((3333GGGG))))
  71.  
  72.  
  73.  
  74.      GGGGLLLLXXXXBBBBaaaaddddFFFFBBBBCCCCoooonnnnffffiiiigggg is generated if _c_o_n_f_i_g is not a valid GLXFBConfig.
  75.  
  76. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  77.      ggggllllXXXXCCCChhhhoooooooosssseeeeFFFFBBBBCCCCoooonnnnffffiiiigggg, ggggllllXXXXDDDDeeeessssttttrrrrooooyyyyWWWWiiiinnnnddddoooowwww, ggggllllXXXXMMMMaaaakkkkeeeeCCCCoooonnnntttteeeexxxxttttCCCCuuuurrrrrrrreeeennnntttt
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.